package com.shengdong.water.base

data class BaseResponse<T>(
    val code: Int,
    val data: T?,
    val msg: String,
    val success: Boolean
) {
    fun isSuccess(): Boolean {
        return code == 200
    }
}

